package com.manage.webuser.dao.impl;

import java.util.List;

import org.springframework.stereotype.Repository;

import com.manage.webuser.dao.IWebUserDao;
import com.manage.webuser.model.WebUser;
import com.manage.base.dao.impl.BaseDaoImpl;

@Repository("webUserDao")
public class WebUserDaoImpl
		extends BaseDaoImpl<WebUser>
		implements IWebUserDao {

	@Override
	public List<WebUser> select(WebUser user) {
		return getSqlSession().selectList("WebUserMapper.select", user);
	}

	@Override
	public int selectTotalCount(WebUser param) {
		return getSqlSession().selectOne("WebUserMapper.selectTotalCount",param);
	}
	
}
